Skip to main content

FlowObjectHasMessageOptions Methods

An object defining methods for the FlowObjectHasMessageOptions class.

AddAttachment(value,type)

Adds an attachment to the mail message.

Parameters:

value (required): string
Value of the attachment.

type (required): MailAttachmentType
Type of the attachment.

Returns:

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SendPushNotification(userInfo,requestItem)

Sends a push notification to a user.

Parameters:

userInfo (required): UserInfo
The user to whom the push notification will be sent.

requestItem (required): ProcessRequestItem
The process request item associated with the notification.

Returns:

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.


SendWebNotification(payloadType,userInfo,requestItem)

Sends a web notification to a user.

Parameters:

payloadType (required): MessagePayloadType
The type of the web notification payload.

userInfo (required): UserInfo
The user to whom the web notification will be sent.

requestItem (required): ProcessRequestItem
The process request item associated with the notification.

Returns:

Type: void
Method does not return anything

This is a sync method. Method runs synchronously.